package ph.com.gs3.formalistics.view.custom.fields;

import android.content.Context;
import android.widget.LinearLayout;
import android.widget.TextView;

public class CustomLinearLayoutField extends LinearLayout {

	protected String id;
	protected TextView tvLabel;

	protected Context context;

	public CustomLinearLayoutField(Context context) {
		super(context);

		this.context = context;
	}

	public void setFieldId(String id) {
		this.id = id;
	}

	public String getFieldId() {
		return id;
	}

	public void setLabel(String label) {
		tvLabel.setText(label);
	}

	public String getLabel() {
		return tvLabel.getText().toString();
	}

}
